﻿@using Pyramid.Extentions
@using Pyramid.Models
@model Customer
<div class="pageContent">
	<div class="tabs" currentIndex="0" eventType="click">
		<div class="tabsHeader">
			<div class="tabsHeaderContent">
				<ul>
					<li><a href="javascript:;"><span>顾客基本资料</span></a></li>
					<li><a href="@Url.Action("HealthBaseInfo", new { id = ViewBag.MasterId })" class="j-ajax"><span>顾客健康状况</span></a></li>
					<li tabid="@string.Format("tab_expertdiagnosisrecord_{0}", ViewBag.MasterId)"><a href="@Url.Action("ExpertDiagnosisRecords", new { id = ViewBag.MasterId })" class="j-ajax"><span>专家诊断</span></a></li>
					<li tabid="@string.Format("tab_treatmentplan_{0}", ViewBag.MasterId)"><a href="@Url.Action("TreatmentPlanList", new { id = ViewBag.MasterId })" class="j-ajax"><span>疗程设计</span></a></li>
					<li tabid="@string.Format("tab_customerhealthmanagerecord_{0}", ViewBag.MasterId)"><a href="@Url.Action("HealthManageRecords", new { id = ViewBag.MasterId })" class="j-ajax"><span>健康管理记录</span></a></li>
					<li tabid="@string.Format("tab_returnvisitrecord_{0}", ViewBag.MasterId)"><a href="@Url.Action("ReturnVisitRecords", new { id = ViewBag.MasterId })" class="j-ajax"><span>回访记录</span></a></li>
				</ul>
			</div>
		</div>
		<div class="tabsContent" layouth="40">
			<!-- 基本信息 -->
			<div>
				<div class="pageFormContent">
					@Html.HiddenFor(x => x.Id)
					<p>
						@Html.LabelFor(m=>m.Code)
						@Html.DisplayFor(m=>m.Code)
					</p>
					<p>
						@Html.LabelFor(m=>m.FullName)
						@Html.DisplayFor(m=>m.FullName)
					</p>
					<p>
						@Html.LabelFor(m=>m.EnglishName)
						@Html.DisplayFor(m=>m.EnglishName)
					</p>
					<p>
						@Html.LabelFor(m=>m.Gender)
						@Html.DisplayFor(model=>model.GenderString)
					</p>
					<p>
						@Html.LabelFor(m=>m.Birthday)
						@Html.DisplayFor(model=>model.Birthday)
					</p>
					<p>
						@Html.LabelFor(m=>m.IdCard)
						@Html.DisplayFor(m=>m.IdCard)
					</p>
					<p>
						@Html.LabelFor(m=>m.CardType)
						@Model.CardTypeEnum.ToDescription()
					</p>
					<p>
						@Html.LabelFor(m=>m.PostalCode)
						@Html.DisplayFor(m=>m.PostalCode)
					</p>
					<p class="nowrap">
						@Html.LabelFor(m=>m.Address)
						@Html.DisplayFor(m=>m.Address)
					</p>
					<div class="divider"></div>
					<p>
						@Html.LabelFor(m=>m.Profession)
						@Html.DisplayFor(m=>m.Profession)
					</p>
					<p>
						@Html.LabelFor(m=>m.Education)
						@Html.DisplayFor(m=>m.Education)
					</p>
					<p>
						@Html.LabelFor(m=>m.Tel)
						@Html.DisplayFor(m=>m.Tel)
					</p>
					<p>
						@Html.LabelFor(m=>m.Mobile)
						@Html.DisplayFor(m=>m.Mobile)
					</p>
					<p>
						@Html.LabelFor(m=>m.Fax)
						@Html.DisplayFor(m=>m.Fax)
					</p>
					<p>
						@Html.LabelFor(m=>m.Email)
						@Html.DisplayFor(m=>m.Email)
					</p>
					<p>
						@Html.LabelFor(m=>m.Interest)
						@Html.DisplayFor(m=>m.Interest)
					</p>
					<p>
						@Html.LabelFor(m=>m.MaritalStatus)
						@Html.DisplayFor(model=>model.MaritalStatusString)
					</p>
					<p>
						@Html.LabelFor(m=>m.RevenueLevel)
						@Html.DisplayFor(model=>model.RevenueLevelString)
					</p>
					<p class="nowrap">
						@Html.LabelFor(m=>m.Remark)
						@Html.DisplayFor(m=>m.Remark)
					</p>
					<div class="divider"></div>
					<p>
						@Html.LabelFor(m=>m.ReceiveNews)
						@Html.DisplayFor(m=>m.ReceiveNews)
					</p>
					<p>
						@Html.LabelFor(m=>m.IsVip)
						@Html.DisplayFor(m=>m.IsVip)
					</p>
				</div>
			</div>
			<!-- 健康状况 -->
			<div>健康状况</div>
			<!-- 专家诊断 -->
			<div>专家诊断</div>
			<!-- 疗程设计 -->
			<div>疗程设计</div>
			<!-- 健康管理记录 -->
			<div>健康管理记录</div>
			<!-- 回访记录 -->
			<div>回访记录</div>
		</div>
		<div class="tabsFooter">
			<div class="tabsFooterContent"></div>
		</div>
	</div>
</div>